<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>下拉菜单组件-示例</title>
    <link rel="stylesheet" href="../css/yelfui.min.css">
</head>
<body>
    <div class="container">
        <div class="wrap">
            <!-- 下拉菜单组件 y-dropdown -->
            <div class="y-dropdown">
                <button class="y-triangle-down" type="button">菜单</button>
                <ul>
                    <li>首页</li>
                    <li>NBA</li>
                    <li>娱乐</li>
                    <li>新闻</li>
                </ul>
            </div>
            <!-- 下拉菜单组件 -->
        </div>
    </div>

    <script src="../js/yg-dropdown.js"></script>
</body>
</html>